﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BA7 RID: 2983
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyGetRegionProgressScRsp : IMessage<MonopolyGetRegionProgressScRsp>, IMessage, IEquatable<MonopolyGetRegionProgressScRsp>, IDeepCloneable<MonopolyGetRegionProgressScRsp>, IBufferMessage
	{
		// Token: 0x1700259E RID: 9630
		// (get) Token: 0x06008571 RID: 34161 RVA: 0x001633AD File Offset: 0x001615AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyGetRegionProgressScRsp> Parser
		{
			get
			{
				return MonopolyGetRegionProgressScRsp._parser;
			}
		}

		// Token: 0x1700259F RID: 9631
		// (get) Token: 0x06008572 RID: 34162 RVA: 0x001633B4 File Offset: 0x001615B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyGetRegionProgressScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170025A0 RID: 9632
		// (get) Token: 0x06008573 RID: 34163 RVA: 0x001633C6 File Offset: 0x001615C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyGetRegionProgressScRsp.Descriptor;
			}
		}

		// Token: 0x06008574 RID: 34164 RVA: 0x001633CD File Offset: 0x001615CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGetRegionProgressScRsp()
		{
		}

		// Token: 0x06008575 RID: 34165 RVA: 0x001633D5 File Offset: 0x001615D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGetRegionProgressScRsp(MonopolyGetRegionProgressScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.dCENHEJPNNO_ = other.dCENHEJPNNO_;
			this.bBFKKPBMFCO_ = other.bBFKKPBMFCO_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008576 RID: 34166 RVA: 0x00163412 File Offset: 0x00161612
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGetRegionProgressScRsp Clone()
		{
			return new MonopolyGetRegionProgressScRsp(this);
		}

		// Token: 0x170025A1 RID: 9633
		// (get) Token: 0x06008577 RID: 34167 RVA: 0x0016341A File Offset: 0x0016161A
		// (set) Token: 0x06008578 RID: 34168 RVA: 0x00163422 File Offset: 0x00161622
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170025A2 RID: 9634
		// (get) Token: 0x06008579 RID: 34169 RVA: 0x0016342B File Offset: 0x0016162B
		// (set) Token: 0x0600857A RID: 34170 RVA: 0x00163433 File Offset: 0x00161633
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DCENHEJPNNO
		{
			get
			{
				return this.dCENHEJPNNO_;
			}
			set
			{
				this.dCENHEJPNNO_ = value;
			}
		}

		// Token: 0x170025A3 RID: 9635
		// (get) Token: 0x0600857B RID: 34171 RVA: 0x0016343C File Offset: 0x0016163C
		// (set) Token: 0x0600857C RID: 34172 RVA: 0x00163444 File Offset: 0x00161644
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BBFKKPBMFCO
		{
			get
			{
				return this.bBFKKPBMFCO_;
			}
			set
			{
				this.bBFKKPBMFCO_ = value;
			}
		}

		// Token: 0x0600857D RID: 34173 RVA: 0x0016344D File Offset: 0x0016164D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyGetRegionProgressScRsp);
		}

		// Token: 0x0600857E RID: 34174 RVA: 0x0016345C File Offset: 0x0016165C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyGetRegionProgressScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.DCENHEJPNNO == other.DCENHEJPNNO && this.BBFKKPBMFCO == other.BBFKKPBMFCO && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600857F RID: 34175 RVA: 0x001634B8 File Offset: 0x001616B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.DCENHEJPNNO != 0U)
			{
				num ^= this.DCENHEJPNNO.GetHashCode();
			}
			if (this.BBFKKPBMFCO != 0U)
			{
				num ^= this.BBFKKPBMFCO.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008580 RID: 34176 RVA: 0x00163529 File Offset: 0x00161729
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008581 RID: 34177 RVA: 0x00163531 File Offset: 0x00161731
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008582 RID: 34178 RVA: 0x0016353C File Offset: 0x0016173C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DCENHEJPNNO != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.DCENHEJPNNO);
			}
			if (this.BBFKKPBMFCO != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.BBFKKPBMFCO);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008583 RID: 34179 RVA: 0x001635B4 File Offset: 0x001617B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.DCENHEJPNNO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DCENHEJPNNO);
			}
			if (this.BBFKKPBMFCO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BBFKKPBMFCO);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008584 RID: 34180 RVA: 0x00163624 File Offset: 0x00161824
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyGetRegionProgressScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.DCENHEJPNNO != 0U)
			{
				this.DCENHEJPNNO = other.DCENHEJPNNO;
			}
			if (other.BBFKKPBMFCO != 0U)
			{
				this.BBFKKPBMFCO = other.BBFKKPBMFCO;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008585 RID: 34181 RVA: 0x00163688 File Offset: 0x00161888
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008586 RID: 34182 RVA: 0x00163694 File Offset: 0x00161894
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 88U)
					{
						if (num != 96U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.BBFKKPBMFCO = input.ReadUInt32();
					}
				}
				else
				{
					this.DCENHEJPNNO = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040032F0 RID: 13040
		private static readonly MessageParser<MonopolyGetRegionProgressScRsp> _parser = new MessageParser<MonopolyGetRegionProgressScRsp>(() => new MonopolyGetRegionProgressScRsp());

		// Token: 0x040032F1 RID: 13041
		private UnknownFieldSet _unknownFields;

		// Token: 0x040032F2 RID: 13042
		public const int RetcodeFieldNumber = 12;

		// Token: 0x040032F3 RID: 13043
		private uint retcode_;

		// Token: 0x040032F4 RID: 13044
		public const int DCENHEJPNNOFieldNumber = 3;

		// Token: 0x040032F5 RID: 13045
		private uint dCENHEJPNNO_;

		// Token: 0x040032F6 RID: 13046
		public const int BBFKKPBMFCOFieldNumber = 11;

		// Token: 0x040032F7 RID: 13047
		private uint bBFKKPBMFCO_;
	}
}
